from multiprocessing import Queue

q = Queue()
print("队列创建成功,类型为：", type(q))

q.put("Hello")
q.put(123)
print("已向队列中放入数据")

date1 = q.get()
date2 = q.get()
print("从队列中取出数据：", date1, "和", date2)